from appengine_django.models import BaseModel
from google.appengine.ext import db

# Create your models here
class Counter(db.Model):
    numitems = db.IntegerProperty('Number of Item Definitions:')
    numinstances = db.IntegerProperty('Total Number of Item Instances:')
    
    def __str__(self):
        result =  self.numitems.verbose_name + self.numitems.__str__()
        result += ' '
        result += self.numinstances.verbose_name + self.numinstances.__str__()
        return result

